package org.pay.core.service;

import org.pay.core.entity.MchInfo;

import java.util.List;
import java.util.Map;

/**
 * @author: yangshancheng
 * @date: 17/9/8
 * @description:
 */
public interface IMchInfoService {

    Map selectMchInfo(String jsonParam);

    int addMchInfo(MchInfo record);

    int register(MchInfo record);

    int update(MchInfo record);

    MchInfo findByMchId(Long mchId);

    MchInfo findByLoginName(String loginName);

    MchInfo findByMobile(Long mobile);

    MchInfo findByEmail(String email);

    int auditOk(Long mchInd);

    int auditNot(Long mchInd);

    List<MchInfo> select(int offset, int limit, MchInfo mchInfo);

    List<MchInfo> select4Audit(int offset, int limit, MchInfo mchInfo);

    List<MchInfo> select4Normal(int offset, int limit, MchInfo mchInfo);

    Integer count(MchInfo mchInfo);

    Integer count4Audit(MchInfo mchInfo);

    Integer count4Normal(MchInfo mchInfo);

}
